package com.blog.admin.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.blog.admin.pojo.auth.User;

@Component
public interface UserMapper {

	User getUser(User user);

	User getUserById(Integer id);

	List<User> getUserList(@Param("username") String username);
	
	List<User> addUser(User user);
}